package com.smartcruise.task.taskSearch;

import android.widget.BaseAdapter;

import com.cunoraz.tagview.Tag;
import com.smartcruise.base.BaseNormalView;
import com.smartcruise.base.BasePresenter;

import java.util.List;

/**
 * Created by FengChaoQun
 * on 2018/1/21 0021
 */

public interface SearchContract {

    interface View extends BaseNormalView {

        void showTag(List<Tag> tags);

        void hideTag();

        void showSearchResult(BaseAdapter adapter);

        void hideSearchResult();

    }

    interface Presenter extends BasePresenter {

        void search(String searchKey);

    }

}
